package cn.net.yto.school.service;

import cn.net.yto.base.dao.pagination.PaginationRequest;
import cn.net.yto.base.dao.pagination.PaginationResponse;
import cn.net.yto.school.dao.entities.TbStudent;

import java.util.List;

public interface StudentService {
    PaginationResponse<TbStudent> findResultsByPagination(PaginationRequest paginationRequest);

    void deleteStudentById(Integer id);

    void saveStudent(TbStudent student);

    TbStudent findOne(Integer id);

    List<TbStudent> findAll();

    Long countStus();
}
